package wsz.user.client.fallback;

import org.springframework.stereotype.Component;
import wsz.user.client.ServiceCodeClient;
import wsz.util.CommonResult;

/**
 * FeignClient的fallback配置类
 * @author wsz
 * @date 2021/12/27 11:38
 **/
@Component
public class ServiceCodeClientFallBack implements ServiceCodeClient {
    @Override
    public CommonResult validate(String email, String code) {
        return CommonResult.getDefaultError();
    }
}
